package com.maretska.java.polymorphsm;

/**
 * Belajar tentang polymorpism
 */

import static org.junit.Assert.*;

import org.junit.Test;

public class TestSalary {

	@Test
	public void test() {
		Salary a = new Salary("buddy", "akhirat", 100);
		Employee b = new Salary("Eiger", "HomeTown", 1);
		a.mailCheck();
		b.mailCheck();
	}

}
